﻿<%@ Page Language="C#" MasterPageFile="~/User.master" AutoEventWireup="true" CodeFile="UPayment.aspx.cs"
    Inherits="Pages_UPayment" Title="Thanh Toán" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="PageStyle" style="width: 100%">
        <div class="Content">
            <div class="HeaderStyle">
                <span class="HeadItem">Thanh Toán</span>
            </div>
            <div class="FormStyle">
                <center>
                    <table cellpadding="0" cellspacing="0">
                        <tr>
                            <td colspan="3">
                                <div class="MsgError">
                                    <asp:ValidationSummary ID="sum" runat="server" ValidationGroup="payment" />
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Loại thanh toán
                            </td>
                            <td class="c1empty">
                            </td>
                            <td>
                                <asp:DropDownList ID="dlLoai" Width="200px" runat="server">
                                    <asp:ListItem Text="Thanh toán trước" Value="First"></asp:ListItem>
                                    <asp:ListItem Text="Thanh toán sau" Value="Last"></asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr class="r1empty">
                            <td colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Loại thẻ
                            </td>
                            <td class="c1empty">
                            </td>
                            <td>
                                <asp:DropDownList ID="dlLoaiThe" Width="200px" runat="server">
                                    <asp:ListItem Text="ACB" Value="ACB"></asp:ListItem>
                                    <asp:ListItem Text="Sacombank" Value="Sacombank"></asp:ListItem>
                                    <asp:ListItem Text="Paypal" Value="Paypal"></asp:ListItem>
                                    <asp:ListItem Text="Mastercard" Value="Mastercard"></asp:ListItem>
                                    <asp:ListItem Text="BIDV" Value="BIDV"></asp:ListItem>
                                    <asp:ListItem Text="Vietcombank" Value="Vietcombank"></asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr class="r1empty">
                            <td colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td valign="top">
                                Mã số
                            </td>
                            <td class="c1empty">
                            </td>
                            <td>
                                <asp:TextBox ID="TextBox1" Width="200px" runat="server" MaxLength="30"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ValidationGroup="payment"
                                    Display="Dynamic" ControlToValidate="TextBox1" ErrorMessage="Phải nhập mã số">*</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr class="r1empty">
                            <td colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Mật khẩu
                            </td>
                            <td class="c1empty">
                            </td>
                            <td>
                                <asp:TextBox ID="TextBox2" Width="200px" TextMode="Password" MaxLength="20" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" Text="*" ErrorMessage="Phải nhập mật khẩu"
                                    runat="server" ValidationGroup="payment" Display="Dynamic" ControlToValidate="TextBox2"></asp:RequiredFieldValidator></td>
                        </tr>
                        <tr class="r1empty">
                            <td colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Nhập lại mật khẩu
                            </td>
                            <td class="c1empty">
                            </td>
                            <td>
                                <asp:TextBox ID="TextBox3" Width="200px" TextMode="Password" runat="server" MaxLength="20"></asp:TextBox>
                                <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="TextBox3"
                                    ControlToValidate="TextBox2" Display="Dynamic" ErrorMessage="Mật khẩu không khớp"
                                    ValidationGroup="payment">*</asp:CompareValidator></td>
                        </tr>
                        <tr class="r1empty">
                            <td colspan="3">
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3" class="ButtonStyle">
                                <asp:Button ID="btSave" runat="server" Text="Lưu Lại" CausesValidation="true" ValidationGroup="payment"
                                    OnClick="btSave_Click" /></td>
                        </tr>
                    </table>
                </center>
                <asp:CustomValidator ID="cval" runat="server" ValidationGroup="payment" Display="None"></asp:CustomValidator>
            </div>
            <div class="FooterStyle">
            </div>
        </div>
    </div>
</asp:Content>
